package com.mgee.netty.server.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * IM用户信息DTO类
 * 
 * @author mileswan
 *
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class UserOnlineDTO {
	
	private String uid;
	// 是否在线
	private Boolean online;
	
	public UserOnlineDTO(String uid, Boolean online) {
		this.uid = uid;
		this.online = online;
	}

}